package com.jeesite.modules.digitalize.entity.dto.digitalizeComponentNote;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhaoshuaixiang
 * @date 2023/11/18 14:29
 */
@Data
public class DigitalizeComponentNoteEditDto {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "id", required = true)
    private Long id;

    @NotBlank(message = "内容不能为空")
    @ApiModelProperty(value = "[视点|批注|标签]内容", required = true)
    private String noteContent;
}
